﻿using Wicresoft.SMS.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Data.Objects.DataClasses;

namespace SMS.Gateway.Host.Test
{
    
    
    /// <summary>
    ///This is a test class for ReminderTest and is intended
    ///to contain all ReminderTest Unit Tests
    ///</summary>
    [TestClass()]
    public class ReminderTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for Reminder Constructor
        ///</summary>
        [TestMethod()]
        public void ReminderConstructorTest()
        {
            Reminder target = new Reminder();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for CreateReminder
        ///</summary>
        [TestMethod()]
        public void CreateReminderTest()
        {
            string entryid = string.Empty; // TODO: Initialize to an appropriate value
            int owner = 0; // TODO: Initialize to an appropriate value
            bool send = false; // TODO: Initialize to an appropriate value
            Reminder expected = null; // TODO: Initialize to an appropriate value
            Reminder actual;
            actual = Reminder.CreateReminder(entryid, owner, send);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for User
        ///</summary>
        [TestMethod()]
        public void UserTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            User expected = null; // TODO: Initialize to an appropriate value
            User actual;
            target.User = expected;
            actual = target.User;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for UserReference
        ///</summary>
        [TestMethod()]
        public void UserReferenceTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            EntityReference<User> expected = null; // TODO: Initialize to an appropriate value
            EntityReference<User> actual;
            target.UserReference = expected;
            actual = target.UserReference;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for content
        ///</summary>
        [TestMethod()]
        public void contentTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.content = expected;
            actual = target.content;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for end
        ///</summary>
        [TestMethod()]
        public void endTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> expected = new Nullable<DateTime>(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> actual;
            target.end = expected;
            actual = target.end;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for entryid
        ///</summary>
        [TestMethod()]
        public void entryidTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.entryid = expected;
            actual = target.entryid;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for owner
        ///</summary>
        [TestMethod()]
        public void ownerTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.owner = expected;
            actual = target.owner;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for remindertime
        ///</summary>
        [TestMethod()]
        public void remindertimeTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> expected = new Nullable<DateTime>(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> actual;
            target.remindertime = expected;
            actual = target.remindertime;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for send
        ///</summary>
        [TestMethod()]
        public void sendTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.send = expected;
            actual = target.send;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for start
        ///</summary>
        [TestMethod()]
        public void startTest()
        {
            Reminder target = new Reminder(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> expected = new Nullable<DateTime>(); // TODO: Initialize to an appropriate value
            Nullable<DateTime> actual;
            target.start = expected;
            actual = target.start;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
